package com.lhhu.demo.service;

import com.lhhu.demo.bean.OrderMessage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Auther 虎
 * @Data 2021/3/23 17:33
 * @Version 1.0
 */
public interface OrderService {
    String addOneOrder(OrderMessage orderMessage);
    List<OrderMessage> getAllOrderByStatus(String openid,String orderStatus);
    int confirmOrder(String orderId,String orderStatus);
    List<OrderMessage> getAllOrderByOrderId(String orderId,String orderStatus);
    List<OrderMessage> getAllOrderByPhone(String orderPhone,String orderStatus);
    List<OrderMessage> getAllOrderByTime(String begindate,String enddate,String orderStatus);
    int deleteOneOrder(String orderId);
}
